<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>Title</title>
</head>
<body>
歡迎您-<span th:text="${user.name}"></span><a href="/shiro/logout">退出</a>
</body>
</html>